//Triangle.h
//Contains the class definition for the Triangle Class

#include <iostream>
#include "NonCircularShapes.h"

using namespace std;

#ifndef TRIANGLE_H
#define TRIANGLE_H

class Triangle : public NonCircularShapes
{
public:
	Triangle(const float &, const float &, float = 0.0, float = 0.0, float = 0.0);
	Triangle();

	void setSides(float, float, float);
	float getSideA() const;
	float getSideB() const;
	float getSideC() const;

	bool validateTriangle(float, float, float);

	void setArea(float, float, float);
	float getArea() const;

	void setPerimeter(float, float, float);
	float getPerimeter() const;

	void setVol(float, float);
	float getVol() const;

	virtual float area() const;
	virtual float perimeter() const;
	virtual float volume() const;

	
private:
	float sideA;
	float sideB;
	float sideC;
	float T_area;
	float T_perimeter;
	float T_volume;
};

#endif